<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Retrieve a listener property</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.openal-listener-get" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">openal_listener_get</h1>
  <p class="verinfo">(PECL openal &gt;= 0.1.0)</p><p class="refpurpose"><span class="refname">openal_listener_get</span> &mdash; <span class="dc-title">
   Retrieve a listener property
  </span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.openal-listener-get-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>openal_listener_get</strong></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$property</code></span>
   ) : <span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span></div>

 </div>

 <div class="refsect1 parameters" id="refsect1-function.openal-listener-get-parameters">
  <h3 class="title">参数</h3>
  <dl>

   
    <dt>
<code class="parameter">property</code></dt>

    <dd>

     <p class="para">
      Property to retrieve, one of:
      <strong><code>AL_GAIN</code></strong> (float),
      <strong><code>AL_POSITION</code></strong> (array(float,float,float)),
      <strong><code>AL_VELOCITY</code></strong> (array(float,float,float)) 和 
      <strong><code>AL_ORIENTATION</code></strong> (array(float,float,float)).
     </p>
    </dd>

   
  </dl>

 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.openal-listener-get-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns a float or array of floats (as appropriate) 或者在失败时返回 <strong><code>FALSE</code></strong>.
  </p>
 </div>

 <div class="refsect1 seealso" id="refsect1-function.openal-listener-get-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="openal_listener_set.html" class="function" rel="rdfs-seeAlso">openal_listener_set()</a> - Set a listener property</span></li>
   </ul>
  </p>
 </div>

</div></div></div></body></html>